Tack.Pane.Debug = new Class({
	Extends: Tack.Pane,

	initialize: function (sidebar) {
		this.parent(sidebar, 'Debug');

		this.html.main.addClass('debug');

		this.console = new Tack.Console(this.html.main, sidebar.tack.player, true);
	},

	refresh: function () {
		this.console.setPlayer(this.sidebar.tack.player);
	}
});
